package com.pojo;


import org.springframework.format.annotation.DateTimeFormat;

public class WhCgMapping {

  private Integer whCgMappingId;
  private String cgCode;
  private String cgName;
  private String inputCode;
  private String sortCode;
  private String branchCode;
  private String warehouseCode;
  private String createBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private java.util.Date createDate;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private String updateBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private java.util.Date updateDate;

  private GoodsSort goodsSort;
  private Branch  branch;
  private Warehouse warehouse;

  public GoodsSort getGoodsSort() {
    return goodsSort;
  }

  public void setGoodsSort(GoodsSort goodsSort) {
    this.goodsSort = goodsSort;
  }

  public Branch getBranch() {
    return branch;
  }

  public void setBranch(Branch branch) {
    this.branch = branch;
  }

  public Warehouse getWarehouse() {
    return warehouse;
  }

  public void setWarehouse(Warehouse warehouse) {
    this.warehouse = warehouse;
  }

  public Integer getWhCgMappingId() {
    return whCgMappingId;
  }

  public void setWhCgMappingId(Integer whCgMappingId) {
    this.whCgMappingId = whCgMappingId;
  }


  public String getCgCode() {
    return cgCode;
  }

  public void setCgCode(String cgCode) {
    this.cgCode = cgCode;
  }


  public String getCgName() {
    return cgName;
  }

  public void setCgName(String cgName) {
    this.cgName = cgName;
  }


  public String getInputCode() {
    return inputCode;
  }

  public void setInputCode(String inputCode) {
    this.inputCode = inputCode;
  }


  public String getSortCode() {
    return sortCode;
  }

  public void setSortCode(String sortCode) {
    this.sortCode = sortCode;
  }


  public String getBranchCode() {
    return branchCode;
  }

  public void setBranchCode(String branchCode) {
    this.branchCode = branchCode;
  }


  public String getWarehouseCode() {
    return warehouseCode;
  }

  public void setWarehouseCode(String warehouseCode) {
    this.warehouseCode = warehouseCode;
  }


  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }


  public java.util.Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(java.util.Date createDate) {
    this.createDate = createDate;
  }


  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }


  public java.util.Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(java.util.Date updateDate) {
    this.updateDate = updateDate;
  }

  @Override
  public String toString() {
    return "WhCgMapping{" +
            "whCgMappingId=" + whCgMappingId +
            ", cgCode='" + cgCode + '\'' +
            ", cgName='" + cgName + '\'' +
            ", inputCode='" + inputCode + '\'' +
            ", sortCode='" + sortCode + '\'' +
            ", branchCode='" + branchCode + '\'' +
            ", warehouseCode='" + warehouseCode + '\'' +
            ", createBy='" + createBy + '\'' +
            ", createDate=" + createDate +
            ", updateBy='" + updateBy + '\'' +
            ", updateDate=" + updateDate +
            ", goodsSort=" + goodsSort +
            ", branch=" + branch +
            ", warehouse=" + warehouse +
            '}';
  }
}
